import request from '@/utils/request'

// 查询固废排放计划申报单统计列表
export function listPlanreport(query) {
  return request({
    url: '/report/planreport/list',
    method: 'get',
    params: query
  })
}

// 查询固废排放计划申报单统计详细
export function getPlanreport(id) {
  return request({
    url: '/report/planreport/' + id,
    method: 'get'
  })
}

// 新增固废排放计划申报单统计
export function addPlanreport(data) {
  return request({
    url: '/report/planreport',
    method: 'post',
    data: data
  })
}

// 修改固废排放计划申报单统计
export function updatePlanreport(data) {
  return request({
    url: '/report/planreport',
    method: 'put',
    data: data
  })
}

// 删除固废排放计划申报单统计
export function delPlanreport(id) {
  return request({
    url: '/report/planreport/' + id,
    method: 'delete'
  })
}
